package com.yl.pattern.structuralmodel.adapter.object_adapter.class_adapter;

/**
 * @Author 小羊
 * @Date 30/10/2024下午 8:45
 * @ClassName Client
 * @Description Client
 */
public class Client {
    public static void main(String[] args) {
        Computer computer = new Computer();
        String msg = computer.readSD(new SdCardImpl());
        System.out.println(msg);

        System.out.println(computer.readSD(new SdAdapterTf(new TfCardImpl())));

    }
}
